<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class MY_Model extends CI_Model {
	public $table_advertise_name         = 'advertise';
	public $table_advertise_temp_name    = 'advertise_temp';
	public $table_category_name          = 'category';
	public $table_contact_name           = 'contact';
	public $table_options_name           = 'options';
	public $table_order_name             = 'order';
	public $table_order_detail_name      = 'order_detail';
	public $table_packet_name            = 'packet';
	public $table_page_name              = 'page';
	public $table_post_name              = 'post';
	public $table_post_cate_name         = 'post_cate';
	public $table_product_name           = 'product';
	public $table_product_details_name   = 'product_details';
	public $table_product_highlight_name = 'product_highlight';
	public $table_product_sale_name      = 'product_sale';
	public $table_rao_vat_name           = 'rao_vat';
	public $table_rao_vat_highlight_name = 'rao_vat_highlight';
	public $table_rao_vat_place_name     = 'rao_vat_place';
	public $table_shop_name              = 'shop';
	public $table_shop_category_name     = 'shop_category';
	public $table_shop_highlight_name    = 'shop_highlight';
	public $table_shop_packet_name       = 'shop_packet';
	public $table_shop_page_name         = 'shop_page';
	public $table_shop_setting_name      = 'shop_setting';
	public $table_shop_slide_name        = 'shop_slide';
	public $table_user_name              = 'user';
	public $table_user_temp_name         = 'user_temp';

	public function __construct(){
		parent::__construct();
        $this->table_advertise_name         = $this->db->dbprefix($this->table_advertise_name);
        $this->table_advertise_temp_name    = $this->db->dbprefix($this->table_advertise_temp_name);
        $this->table_category_name          = $this->db->dbprefix($this->table_category_name);
        $this->table_contact_name           = $this->db->dbprefix($this->table_contact_name);
        $this->table_options_name           = $this->db->dbprefix($this->table_options_name);
        $this->table_order_name             = $this->db->dbprefix($this->table_order_name);
        $this->table_order_detail_name      = $this->db->dbprefix($this->table_order_detail_name);
        $this->table_page_name              = $this->db->dbprefix($this->table_page_name);
        $this->table_post_name              = $this->db->dbprefix($this->table_post_name);
        $this->table_post_cate_name         = $this->db->dbprefix($this->table_post_cate_name);
        $this->table_product_name           = $this->db->dbprefix($this->table_product_name);
        $this->table_product_details_name   = $this->db->dbprefix($this->table_product_details_name);
        $this->table_product_highlight_name = $this->db->dbprefix($this->table_product_highlight_name);
        $this->table_product_sale_name      = $this->db->dbprefix($this->table_product_sale_name);
        $this->table_rao_vat_name           = $this->db->dbprefix($this->table_rao_vat_name);
        $this->table_rao_vat_highlight_name = $this->db->dbprefix($this->table_rao_vat_highlight_name);
        $this->table_rao_vat_place_name     = $this->db->dbprefix($this->table_rao_vat_place_name);
        $this->table_shop_name              = $this->db->dbprefix($this->table_shop_name);
        $this->table_shop_category_name     = $this->db->dbprefix($this->table_shop_category_name);
        $this->table_shop_highlight_name    = $this->db->dbprefix($this->table_shop_highlight_name);
        $this->table_shop_packet_name       = $this->db->dbprefix($this->table_shop_packet_name);
        $this->table_shop_page_name         = $this->db->dbprefix($this->table_shop_page_name);
        $this->table_shop_setting_name      = $this->db->dbprefix($this->table_shop_setting_name);
        $this->table_shop_slide_name        = $this->db->dbprefix($this->table_shop_slide_name);
        $this->table_user_name              = $this->db->dbprefix($this->table_user_name);
        $this->table_user_temp_name         = $this->db->dbprefix($this->table_user_temp_name);
	}
}